//
//  UILable+Externsion.swift
//  weibo
//
//  Created by pg on 2017/7/22.
//  Copyright © 2017年 pg. All rights reserved.
//


import UIKit

extension UILabel{
    
    //
    convenience init(text:String,fontSize:CGFloat,textColor:UIColor) {
        
        self.init()
        self.text = text
        self.textColor = textColor
        self.font = UIFont.systemFont(ofSize: fontSize)
        self.numberOfLines = 0
        self.sizeToFit()
    }
    
    
    
}

